import javax.lang.model.element.NestingKind;

/**
 * @author zhangshuai
 * @version V1.0
 * @Project Java2_26
 * @Package PACKAGE_NAME
 * @Description:
 * @Date 2025/5/13 9:30
 */

public class Demo3 {
    public static void main(String[] args) {
      /*  int x = 20,y=30,s=0;
        do{
            s += x + y;
        } while(x++  >  20 &&  ++y  <= 30);

        //s =50 x=21 y=30

        long value = 10000000000L;

        byte b1 = 10, b2 = 20;
        byte b3 = (byte) (b1 + b2);
*/
        int m = 3, n = 5;
        System.out.println(m++);//3
        System.out.println(m);//4

        boolean res = m++ > 3 || n-- < 4 && ++m == 5;
        //            3         5
        System.out.println(m);//4

        System.out.println(n);//4

        Demo4 demo4 = new Demo4();
        demo4.age = 10;
        demo4.pwd = "123456";
        demo4.gender = '男';



    }
}